//
//  UIButton+RTInit.m
//  WeiboSina
//
//  Created by Brisinga on 16/3/4.
//  Copyright © 2016年 Root. All rights reserved.
//

#import "UIButton+RTInit.h"

@implementation UIButton (RTInit)

+ (instancetype)buttonWithTitle:(NSString *)title textColor:(UIColor *)textColor textFont:(CGFloat)textFont {
    
    UIButton *button = [[UIButton alloc] init];
    
    [button setTitle:title forState:UIControlStateNormal];
    
    [button setTitleColor:textColor forState:UIControlStateNormal];
    
    button.titleLabel.font = [UIFont systemFontOfSize:textFont];
    
    return button;
}


@end
